Use @basename@ in enumeration type templates
authorRoss Burton <ross.burton@arm.com>
Mon, 12 Dec 2022 13:09:26 +0000 (13:09 +0000)
committerRoss Burton <ross.burton@arm.com>
Mon, 12 Dec 2022 13:09:53 +0000 (13:09 +0000)
commit8eb4e59613a0979757332eb833231b947d61f13d
tree5b59de2b389c7cb2aff3b0cf962c4875e05afb2b
parentefdc6b81e63f1af4a734cfc4c31dbf6b3ea5f38f
Use @basename@ in enumeration type templates

The @filename@ directive will use the full path of the file being parsed
for enumeration types; we should use @basename@, instead, as it improves
the reproducibility of the build by using only the file name.

Backport of 4040f76529bbf6d3310a71df2d37c9d95af83892 from main.
gdk/gdkenumtypes.c.template
gtk/gtkprivatetypebuiltins.c.template
gtk/gtkprivatetypebuiltins.h.template
gtk/gtktypebuiltins.c.template